<template>
  <el-alert
      :title="title"
      :type="type"
      :closable="false"
      center
      show-icon
      class="message-style">
  </el-alert>
</template>

<script>
  export default {
    props: ['title', 'type'],
    name: 'message'
  }
</script>

<style>
  .message-style {
    margin-bottom: 15px
  }
</style>